package com.fulihui.systemcore.dal.dataobj;

import java.io.Serializable;
import lombok.Data;

@Data
public class ApiTemplate implements Serializable {
    private Long id;

    private String apiCode;

    private String targetUrl;

    private String httpMethod;

    private String contentType;

    private String inencoding;

    private String outencoding;

    private Long connectionTimeout;

    private Long soTimeout;

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", apiCode=").append(apiCode);
        sb.append(", targetUrl=").append(targetUrl);
        sb.append(", httpMethod=").append(httpMethod);
        sb.append(", contentType=").append(contentType);
        sb.append(", inencoding=").append(inencoding);
        sb.append(", outencoding=").append(outencoding);
        sb.append(", connectionTimeout=").append(connectionTimeout);
        sb.append(", soTimeout=").append(soTimeout);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}